FROM java:8-jre

MAINTAINER 51859229@gmail.com

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN mkdir -p /spring-cloud-privoder

WORKDIR /spring-cloud-privoder

EXPOSE 8090

ADD ./target/spring-cloud-privoder.jar ./


CMD sleep 5;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar spring-cloud-privoder.jar


